package com.pentofab.payrollmanagement.dao.model;

import java.util.Date;

public class UserAccounts {

	
	String username ; 
	String password ;
	String createdby;
	String modifiedby;
	String creationdate;
	String modificationdate;
	String validity;
	boolean active;
	String permissions;
	String question;
	String answer;

	
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public String getPermissions() {
		return permissions;
	}
	public void setPermissions(String permissions) {
		this.permissions = permissions;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getCreatedby() {
		return createdby;
	}
	public void setCreatedby(String createdby) {
		this.createdby = createdby;
	}
	public String getModifiedby() {
		return modifiedby;
	}
	public void setModifiedby(String modifiedby) {
		this.modifiedby = modifiedby;
	}
	public String getCreationdate() {
		return creationdate;
	}
	public void setCreationdate(String creationdate) {
		this.creationdate = creationdate;
	}
	public String getModificationdate() {
		return modificationdate;
	}
	public void setModificationdate(String modificationdate) {
		this.modificationdate = modificationdate;
	}
	public String getValidity() {
		return validity;
	}
	public void setValidity(String validity) {
		this.validity = validity;
	}
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	/**
	 * Constructs a <code>String</code> with all attributes
	 * in name = value format.
	 *
	 * @return a <code>String</code> representation 
	 * of this object.
	 */
	public String toString(){
	    final String TAB = "    ";
	    
	    String retValue = "";
	    
	    retValue = "UserAccounts ( "
	        + super.toString() + TAB
	        + "username = " + this.username + TAB
	        + "password = " + this.password + TAB
	        + "createdby = " + this.createdby + TAB
	        + "modifiedby = " + this.modifiedby + TAB
	        + "creationdate = " + this.creationdate + TAB
	        + "modificationdate = " + this.modificationdate + TAB
	        + "validity = " + this.validity + TAB
	        + "active = " + this.active + TAB
	        + "permissions = " + this.permissions + TAB
	        + " )";
	
	    return retValue;
	}
}
